package han.chensing.latos.common.level.content.timeLine.motion.interpolator;

import java.io.Serial;
import java.io.Serializable;

public class InstantInterpolator implements Interpolator, Serializable {
    @Serial
    private static final long serialVersionUID = 6843049837993764955L;

    @Override
    public float value(float x) {
        return 1;
    }

    @Override
    public float integration(float x) {
        return x;
    }
}
